package net.zoneland.knowledge.constant;

/**
 * 审批相关常量.
 *
 * @author bcc
 */
public final class ApproveConstant {

    /**
     * 提交中文名.
     */
    public static final String DEFAULT_SUBMIT_NAME = "提交";

    /**
     * 转交中文名.
     */
    public static final String DEFAULT_TRANSFER_NAME = "转交";

    /**
     * 回退中文名.
     */
    public static final String DEFAULT_REJECT_NAME = "退回";

    /**
     * 退回起草决策.
     */
    public static final String DECISION_BACK_TO_DRAFT = "backToDraft";

    /**
     * 提交决策.
     */
    public static final String DECISION_SUBMIT = "submit";

    /**
     * 起草异常信息.
     */
    public static final String DRAFT_ERROR_MESSAGE = "提交草稿工单异常！";

    /**
     * 工单信息参数名.
     */
    public static final String WORK_APPLY_INFO = "workApplyInfo";

    /**
     * 工单id的参数名.
     */
    public static final String WORK_APPLY_ID_NAME = "workApplyId";

    /**
     * 流程类型.
     */
    public static final String FLOW_TYPE = "flowType";

    /**
     * 工单信息不能为空提示语.
     */
    public static final String WORK_APPLY_INFO_NOT_EMPTY ="工单信息不能为空！";

    /**
     * 操作用户不能为空提示语.
     */
    public static final String WORK_USER_NOT_EMPTY ="操作用户不能为空！";

    /**
     * 当前用户不是工单发起人提示语.
     */
    public static final String CURRENT_USER_NOT_SPONSOR = "当前用户不是工单发起人！";

    /**
     * 当前用户不是工单处理人提示语.
     */
    public static final String CURRENT_USER_NOT_HANDLER = "当前用户不是工单处理人！";

    /**
     * 当前工单状态非草稿，不能提交提示语.
     */
    public static final String CURRENT_APPLY_NOT_DRAFT = "当前工单状态非草稿，不能提交！";

    /**
     * 任务id不能为空提示语.
     */
    public static final String TASK_ID_BLANK_ERROR_MSG = "任务id不能为空！";

    private ApproveConstant() {
    }

}
